package com.design3.graduatethesissys.service;

import com.design3.graduatethesissys.domain.Message;
import com.design3.graduatethesissys.domain.SysUser;

import java.util.List;

public interface MessageService {
    SysUser findMessageById(String id);
    void insertMessage(Message message);
    List<Message> getMyNewMessage(String myId);
    List<Message> getMessageByFromId(String myId,String yourId);
    List<Message> getNewMessageById(String myId,String yourId);
    void updateOldMessage(String myId,String yourId);
}
